]> git.baikalelectronics.ru Git - kernel.git/commit
apparmor: Switch to GFP_KERNEL where possible
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Fri, 5 Apr 2019 13:34:58 +0000 (15:34 +0200)
committerJohn Johansen <john.johansen@canonical.com>
Thu, 20 Jun 2019 17:33:31 +0000 (10:33 -0700)
commit2a444743fe6994e26a967b937044281bde6dceae
treeca39bf7b77517a20b29b0cedd9ad5864266847af
parent6b952d4592c693a8005edbebd7d669c5f92025ad
apparmor: Switch to GFP_KERNEL where possible

After removing preempt_disable() from get_buffers() it is possible to
replace a few GFP_ATOMIC allocations with GFP_KERNEL.

Replace GFP_ATOMIC allocations with GFP_KERNEL where the context looks
to bee preepmtible.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/domain.c
security/apparmor/file.c
security/apparmor/mount.c