]> git.pld-linux.org Git - packages/kernel.git/blame - 2.2.21-pre2_page_alloc_race_fix.patch
- added description of djurban's branch
[packages/kernel.git] / 2.2.21-pre2_page_alloc_race_fix.patch
CommitLineData
9f5cda77
KT
1--- linux.vanilla/mm/page_alloc.c Sun Mar 25 17:37:41 2001
2+++ linux.21p1/mm/page_alloc.c Sat Dec 29 03:11:56 2001
3@@ -149,7 +149,8 @@
4 * local since we must deal with fragmentation too and we
5 * can't rely on the nr_local_pages information.
6 */
7- if (current->nr_local_pages && !current->allocation_order)
8+ if ((current->nr_local_pages && !current->allocation_order) ||
9+ in_interrupt())
10 goto back_local_freelist;
11
12 page = mem_map + map_nr;
This page took 1.829142 seconds and 4 git commands to generate.