aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorLina Iyer <[email protected]>2015-10-28 15:19:50 -0600
committerRafael J. Wysocki <[email protected]>2015-11-02 02:26:17 +0100
commit2547923d1cc38b4b55c538e450411586acc39ac6 (patch)
tree237a3455cf5bd251b0d5c9ea8ecddc93a7edecab /lib/netdev-notifier-error-inject.c
parent298cd0f0880188422a518e9d780bd49d66ea7ad5 (diff)
PM / Domains: Allocate memory outside domain locks
In preparation for supporting IRQ-safe domains, allocate domain data outside the domain locks. These functions are not called in an atomic context, so we can always allocate memory using GFP_KERNEL. By allocating memory before the locks, we can safely lock the domain using spinlocks instead of mutexes. Reviewed-by: Kevin Hilman <[email protected]> Acked-by: Ulf Hansson <[email protected]> Signed-off-by: Lina Iyer <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions