commit | a8a93f3f03b7a8008d720e8d91798efe599d416c | [log] [tgz] |
---|---|---|
author | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | Thu Feb 12 13:45:34 2009 -0800 |
committer | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | Sun Mar 29 23:29:15 2009 -0700 |
tree | 7238d910d74a8df91280a47bab57707beb4fa101 | |
parent | 0d34fb8e93ceba7b6dad0062dbb4a0813bacd75b [diff] |
mm: disable preemption in apply_to_pte_range Impact: bugfix Lazy mmu mode needs preemption disabled, so if we're apply to init_mm (which doesn't require any pte locks), then explicitly disable preemption. (Do it unconditionally after checking we've successfully done the allocation to simplify the error handling.) Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>