]> git.baikalelectronics.ru Git - kernel.git/commit
staging: zsmalloc: prevent mappping in interrupt context
authorSeth Jennings <sjenning@linux.vnet.ibm.com>
Wed, 18 Jul 2012 16:55:55 +0000 (11:55 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Aug 2012 02:28:08 +0000 (19:28 -0700)
commitca53581a261d75a49279b1a3c223562bd706ad54
tree5c3f5a5495937abf9923f8eb430fffa1e7e6c47d
parent9d8382540dc653978b2ad35cdef193632950cfb0
staging: zsmalloc: prevent mappping in interrupt context

Because we use per-cpu mapping areas shared among the
pools/users, we can't allow mapping in interrupt context
because it can corrupt another users mappings.

Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com>
Acked-by: Minchan Kim <minchan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/zsmalloc/zsmalloc-main.c