2003-01-20 11:26:59

by Hans Reiser

[permalink] [raw]
Subject: [BK] [2.4] ReiserFS iput deadlock fix

Please apply.

--
Hans


Attachments:
[2.4] iput deadlock fix (17.02 kB)

2003-01-21 00:55:11

by Benoit Poulot-Cazajous

[permalink] [raw]
Subject: [PATCH][2.4] Speedup 'make dep'


Hi Marcelo,

During 'make dep', make spends most of its time (sometimes more
than 75%) uselessly analysing .hdepend. Delaying its production
makes 'make dep' much faster.
The following patch also builds .depend last, in order to make
the dependency information generation more resistant against
^C and other failures.

Regards,

-- Benoit

diff -ru linux-2.4.20/Makefile linux-2.4.20-bpc/Makefile
--- linux-2.4.20/Makefile 2003-01-10 22:32:25.000000000 +0100
+++ linux-2.4.20-bpc/Makefile 2003-01-20 09:52:43.000000000 +0100
@@ -488,12 +488,13 @@
find . -type f -print | sort | xargs sum > .SUMS

dep-files: scripts/mkdep archdep include/linux/version.h
- scripts/mkdep -- init/*.c > .depend
- scripts/mkdep -- `find $(FINDHPATH) \( -name SCCS -o -name .svn \) -prune -o -follow -name \*.h ! -name modversions.h -print` > .hdepend
+ rm -f .depend .hdepend
$(MAKE) $(patsubst %,_sfdep_%,$(SUBDIRS)) _FASTDEP_ALL_SUB_DIRS="$(SUBDIRS)"
ifdef CONFIG_MODVERSIONS
$(MAKE) update-modverfile
endif
+ scripts/mkdep -- `find $(FINDHPATH) \( -name SCCS -o -name .svn \) -prune -o -follow -name \*.h ! -name modversions.h -print` > .hdepend
+ scripts/mkdep -- init/*.c > .depend

ifdef CONFIG_MODVERSIONS
MODVERFILE := $(TOPDIR)/include/linux/modversions.h

2003-02-26 23:15:43

by Marc-Christian Petersen

[permalink] [raw]
Subject: Re: [PATCH][2.4] Speedup 'make dep'

On Tuesday 21 January 2003 02:03, Benoit Poulot-Cazajous wrote:

Hi Marcelo,

apply this too, please!

> During 'make dep', make spends most of its time (sometimes more
> than 75%) uselessly analysing .hdepend. Delaying its production
> makes 'make dep' much faster.
> The following patch also builds .depend last, in order to make
> the dependency information generation more resistant against
> ^C and other failures.
>
> Regards,
>
> -- Benoit


Attachments:
speedup-make-dep.patch (867.00 B)