Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 2823
b: refs/heads/master
c: b7c84c6
h: refs/heads/master
i:
  2821: 567d804
  2819: 1359877
  2815: 17249d3
v: v3
  • Loading branch information
Christoph Lameter authored and Linus Torvalds committed Jun 23, 2005
1 parent b9f509f commit f2fad69
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a4936044001694f033fe4ea94d6034d51a6b465c
refs/heads/master: b7c84c6ada2be942eca6722edb2cfaad412cd5de
11 changes: 9 additions & 2 deletions trunk/mm/page_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1742,10 +1742,17 @@ inline void setup_pageset(struct per_cpu_pageset *p, unsigned long batch)
* with interrupts disabled.
*
* Some NUMA counter updates may also be caught by the boot pagesets.
* These will be discarded when bootup is complete.
*
* The boot_pagesets must be kept even after bootup is complete for
* unused processors and/or zones. They do play a role for bootstrapping
* hotplugged processors.
*
* zoneinfo_show() and maybe other functions do
* not check if the processor is online before following the pageset pointer.
* Other parts of the kernel may not check if the zone is available.
*/
static struct per_cpu_pageset
boot_pageset[NR_CPUS] __initdata;
boot_pageset[NR_CPUS];

/*
* Dynamically allocate memory for the
Expand Down

0 comments on commit f2fad69

Please sign in to comment.