summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_cong.c
diff options
context:
space:
mode:
authorMel Gorman <mgorman@suse.de>2011-04-25 21:36:42 +0000
committerMarek Szyprowski <m.szyprowski@samsung.com>2012-05-21 15:09:34 +0200
commitcfd3da1e49bb95c355c01c0f502d657deb3d34a4 (patch)
tree002aa5a9001a7b600ea8af90b59ccbbe133d48e0 /net/ipv4/tcp_cong.c
parent0815f3d81d76dfbf2abcfd93a85ff0a6008fe4c0 (diff)
downloadop-kernel-dev-cfd3da1e49bb95c355c01c0f502d657deb3d34a4.zip
op-kernel-dev-cfd3da1e49bb95c355c01c0f502d657deb3d34a4.tar.gz
mm: Serialize access to min_free_kbytes
There is a race between the min_free_kbytes sysctl, memory hotplug and transparent hugepage support enablement. Memory hotplug uses a zonelists_mutex to avoid a race when building zonelists. Reuse it to serialise watermark updates. [a.p.zijlstra@chello.nl: Older patch fixed the race with spinlock] Signed-off-by: Mel Gorman <mgorman@suse.de> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Tested-by: Barry Song <Baohua.Song@csr.com>
Diffstat (limited to 'net/ipv4/tcp_cong.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud