- 08 Oct, 2002 40 commits
-
-
Kai Germaschewski authored
-
Kai Germaschewski authored
by Nicolas Pitre
-
Kai Germaschewski authored
'make mrproper' incorrectly deletes *~-style editor backup files from the top-level directory. This bug was introduced in 2.5.29 when the top-level Makefile was changed to remain in the top-level directory when invoking DocBook's Makefile:
-
Kai Germaschewski authored
Since we now always have $(TOPDIR) = `pwd`, some usages of $(TOPDIR) can go away.
-
Andrew Morton authored
From Bill Irwin The simple_link(), simple_unlink(), simple_rename(), simple_sync_file(), simple_rmdir(), and simple_empty() functions are easy to duplicate. Basically, I duplicated them in an fs patch of mine, and Linus told me to put them in libfs.c Pat Mochel has acked the changes for driverfs (in that he'll convert the stuff over when they're available from libfs), and my hugetlbfs implementation was the thing that spurred the whole incident.
-
Andrew Morton authored
From Christoph Hellwig. If we always pass &contig_page_data into free_area_init_node for the non-distcontig case we can merge both versions of that function into one. Move that one to page_alloc.c and thus kill numa.c which was totally misnamed, btw.
-
Andrew Morton authored
Patch from Christoph Hellwig It turns alloc_pages_node into a static inline, in the same fashion as alloc_pages. There is no need for #ifdef CONFIG_NUMA in the patch, as the numa node identification functions are sensible enough to do the right thing for non-NUMA systems. Moves alloc_pages_node from numa.c to gfp.h, and removes the EXPORT_SYMBOL which is no longer needed as this is now an inline.
-
Andrew Morton authored
This used to be a macro wrapper around get_zeroed_page(). It was a dreadful choice of name, because it hid the fact that this function memsets the page. Probably, lots of the callers didn't actually want to do that but this patch does not make such optimisations. At least now, people may spot a `get_zeroed_page' in there and realise that the page doesn't actually need to be initialised. The patch also changes get_zeroed_page() to go BUG if called with __GFP_HIGHMEM. It returns the address of the page's memory and hence can only be used for direct-mapped pages (wli).
-
Andrew Morton authored
From Martin Bligh. This patch remaps the lmem_map (struct page) arrays for each node onto their own nodes. This is non-trivial, since all of ZONE_NORMAL, and hence permanently mapped KVA resides on node 0. Very early in the boot sequence, it calculates the size of the lmem_map arrays (rounding up to the nearest large page size), and reserves a suitable amount of permanent KVA by shifting down max_low_pfn to create a gap between max_low_pfn and highstart_pfn (both of which are normally about 896Mb). It then uses the new set_pmd_pfn function to set up the pmds correctly so that the large pages point at the physical addresses reserved from the remote nodes. Tested on NUMA-Q and some ratty old i386 PC kicking around under my desk (on 2.5.36-mm1). Was good for a 20% improvement in system time on kernel compile when I initially benchmarked it against 2.5.32 or something - due to a reduction in inter-node traffic, better interconnect cache usage and locality. Should have no effect on any system other than i386 NUMA systems.
-
Andrew Morton authored
From Martin Bligh This patch fixes a nasty bug that wli found in buffer.c which cause an oops - we were using contig_page_data on a discontigmem machine. It's a slightly modified version of the fix wli suggested, tested on NUMA-Q. I've also added code to not define contig_page_data for discontigmem systems, to stop this from happening again. I wrapped a couple of bootmem functions that were using it in #ifndef CONFIG_DISCONTIGMEM. I suppose it's possible (though unlikely) that some other discontig arch might need to wrap a couple of functions in their tree similarly, but any borkage will just give a simple clear compiler error telling them exactly where the problem is.
-
Andrew Morton authored
A discontigmem compilation fix From Bill Irwin
-
Andrew Morton authored
- Don't convert READA into READ in ll_rw_block().
-
Martin J. Bligh authored
This patch basically just renames usages of CONFIG_MULTIQUAD to CONFIG_X86_NUMAQ. The original multiquad option covered a variety of sins, and just made a mess (my fault). After extensive community discussion, this is the naming scheme everyone agreed to - the CONFIG_X86_NUMAQ option already exists, we're just renaming usages of MULTIQUAD to it, and removing the MULTIQUAD option. Stuff that's really to do with clustered APIC mode is put under CONFIG_CLUSTERED_APIC instead, as it's not specific to the NUMA-Q. Note that the definitions of clustered_apic_mode are still duplicated, so the changes appear twice. I'm not making it worse, just haven't fixed this one yet, will do that next. Patch was written by Matt Dobson.
-
Anton Blanchard authored
Or in this case two. This makes the migration and ksoftirq threads match the naming convention of the workqueue threads. Apply it and marvel at how neater a ps looks.
-
Mark Haverkamp authored
I tried building the aacraid driver in 2.5.41 and got an error saying that O_TARGET usage was obsolete. The following change to the Makefile allows me to build.
-
Paul Larson authored
-
Dave Jones authored
-
Dave Jones authored
Adds missing return values checking of misc_register(), scsi_register(), request_region() and does some code cleanup in the process..
-
Dave Jones authored
As per the FIXME. Work done by Eric Blade
-
Dave Jones authored
Just reconfigure on resume..
-
Dave Jones authored
-
Dave Jones authored
-
Adam Kropelin authored
-
Alexander Viro authored
cpqarray uses disk_alloc instead of alloc_disk. Same typo is in cciss, rd.c sets ->first_minor to 0 for all units and HD_IRQ definition is needed if CONFIG_BLK_DEV_HD is defined.
-
bk://ppc.bkbits.net/for-linus-ppcLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Paul Mackerras authored
-
Paul Mackerras authored
-
Paul Mackerras authored
This makes sure we clear the user_tid in copy_thread, and that we don't pass a bogus tid parameter in sys_clone when the CLONE_SETTID and CLONE_CLEARTID flags are clear.
-
Paul Mackerras authored
into samba.org:/home/paulus/kernel/for-linus-ppc
-
Paul Mackerras authored
-
Paul Mackerras authored
-
Paul Mackerras authored
-
Paul Mackerras authored
-
Paul Mackerras authored
-
Paul Mackerras authored
This also puts the file in include/asm-ppc/offsets.h rather than arch/ppc/kernel/asm-offsets.h. This changes PPC to do things similarly to other ports, and makes make -j work reliably.
-
Paul Mackerras authored
-
Paul Mackerras authored
-
Art Haas authored
-
Art Haas authored
-
Art Haas authored
-