[PATCH 4/6] Protectable Memory

From
Igor Stoppa <hidden>
Date
2018-01-26 19:41:35
Also in
linux-mm, lkml
Reply to
Igor Stoppa, 2018-01-24
On 24/01/18 19:56, Igor Stoppa wrote:

[...]
+bool pmalloc_prealloc(struct gen_pool *pool, size_t size)
+{
[...]
+abort:
+	vfree(chunk);
this should be vfree_atomic()

[...]
+void *pmalloc(struct gen_pool *pool, size_t size, gfp_t gfp)
+{
[...]
+free:
+	vfree(chunk);
and this one too

I will fix them in the next iteration.
I am waiting to see if any more comments arrive.
Otherwise, I'll send it out probably next Tuesday.

--
igor
--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Thread (44 messages) 44 messages, 11 authors, last reply 2018-02-21
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help