git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mm: have zonelist contains structs with both a zone pointer and zone_idx
[sfrench/cifs-2.6.git]
/
fs
/
buffer.c
diff --git
a/fs/buffer.c
b/fs/buffer.c
index 9b5434a80479aad0db053b8e11b980f29b626cfe..ac84cd13075d60142002897661ba067d60b65239 100644
(file)
--- a/
fs/buffer.c
+++ b/
fs/buffer.c
@@
-360,16
+360,16
@@
void invalidate_bdev(struct block_device *bdev)
*/
static void free_more_memory(void)
{
*/
static void free_more_memory(void)
{
- struct zone
**zone
s;
+ struct zone
ref *zref
s;
int nid;
wakeup_pdflush(1024);
yield();
for_each_online_node(nid) {
int nid;
wakeup_pdflush(1024);
yield();
for_each_online_node(nid) {
- z
one
s = first_zones_zonelist(node_zonelist(nid, GFP_NOFS),
+ z
ref
s = first_zones_zonelist(node_zonelist(nid, GFP_NOFS),
gfp_zone(GFP_NOFS));
gfp_zone(GFP_NOFS));
- if (
*zones
)
+ if (
zrefs->zone
)
try_to_free_pages(node_zonelist(nid, GFP_NOFS), 0,
GFP_NOFS);
}
try_to_free_pages(node_zonelist(nid, GFP_NOFS), 0,
GFP_NOFS);
}