commit | b0365c8d0cb6e79eb5f21418ae61ab511f31b575 | [log] [tgz] |
---|---|---|
author | Hillf Danton <dhillf@gmail.com> | Wed Dec 28 15:57:16 2011 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Dec 29 16:31:57 2011 -0800 |
tree | 2e8abddb0f0f7829e48d00464f95b835bdb6ff51 | |
parent | 34845636a184f3be91a531098192592cbe6db587 [diff] |
mm: hugetlb: fix non-atomic enqueue of huge page If a huge page is enqueued under the protection of hugetlb_lock, then the operation is atomic and safe. Signed-off-by: Hillf Danton <dhillf@gmail.com> Reviewed-by: Michal Hocko <mhocko@suse.cz> Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: <stable@vger.kernel.org> [2.6.37+] Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>