summaryrefslogtreecommitdiffstats
path: root/lib/kobject_uevent.c
diff options
context:
space:
mode:
authorMel Gorman <mgorman@suse.de>2014-06-05 01:10:05 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-05 01:54:08 +0200
commit65bb371984d6a2c909244eb749e482bb40b72e36 (patch)
tree03a55a0eb6bc7fbf4778539d26fc3be8f8ec9d52 /lib/kobject_uevent.c
parentslab: delete cache from list after __kmem_cache_shutdown succeeds (diff)
downloadlinux-65bb371984d6a2c909244eb749e482bb40b72e36.tar.xz
linux-65bb371984d6a2c909244eb749e482bb40b72e36.zip
mm: page_alloc: do not update zlc unless the zlc is active
The zlc is used on NUMA machines to quickly skip over zones that are full. However it is always updated, even for the first zone scanned when the zlc might not even be active. As it's a write to a bitmap that potentially bounces cache line it's deceptively expensive and most machines will not care. Only update the zlc if it was active. Signed-off-by: Mel Gorman <mgorman@suse.de> Acked-by: Johannes Weiner <hannes@cmpxchg.org> Reviewed-by: Rik van Riel <riel@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/kobject_uevent.c')
0 files changed, 0 insertions, 0 deletions