Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75663
b: refs/heads/master
c: 9c09a95
h: refs/heads/master
i:
  75661: 83a52f4
  75659: 9e30461
  75655: 205a4a9
  75647: 23cc001
v: v3
  • Loading branch information
Mel Gorman authored and Linus Torvalds committed Jan 24, 2008
1 parent a5be8ca commit 0827945
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: c5c99429fa57dcf6e05203ebe3676db1ec646793
refs/heads/master: 9c09a95cf431fcf5720f2e408befa24b32b8cf4d
6 changes: 3 additions & 3 deletions trunk/mm/slab.c
Original file line number Diff line number Diff line change
Expand Up @@ -1590,7 +1590,7 @@ void __init kmem_cache_init(void)
/* Replace the static kmem_list3 structures for the boot cpu */
init_list(&cache_cache, &initkmem_list3[CACHE_CACHE], node);

for_each_node_state(nid, N_NORMAL_MEMORY) {
for_each_online_node(nid) {
init_list(malloc_sizes[INDEX_AC].cs_cachep,
&initkmem_list3[SIZE_AC + nid], nid);

Expand Down Expand Up @@ -1968,7 +1968,7 @@ static void __init set_up_list3s(struct kmem_cache *cachep, int index)
{
int node;

for_each_node_state(node, N_NORMAL_MEMORY) {
for_each_online_node(node) {
cachep->nodelists[node] = &initkmem_list3[index + node];
cachep->nodelists[node]->next_reap = jiffies +
REAPTIMEOUT_LIST3 +
Expand Down Expand Up @@ -3815,7 +3815,7 @@ static int alloc_kmemlist(struct kmem_cache *cachep)
struct array_cache *new_shared;
struct array_cache **new_alien = NULL;

for_each_node_state(node, N_NORMAL_MEMORY) {
for_each_online_node(node) {

if (use_alien_caches) {
new_alien = alloc_alien_cache(node, cachep->limit);
Expand Down

0 comments on commit 0827945

Please sign in to comment.