[RFC PATCH v19 0/8] mm: security: ro protection for dynamic data

From
Igor Stoppa <hidden>
Date
2018-03-15 13:43:49
Also in
linux-mm, lkml
Reply to
Matthew Wilcox, 2018-03-14

On 14/03/2018 19:33, Matthew Wilcox wrote:
On Wed, Mar 14, 2018 at 06:11:22PM +0200, Igor Stoppa wrote:
[...]
quoted
Probably page_frag does well with relatively large allocations, while
genalloc seems to be better for small (few allocation units) allocations.
I don't understand why you would think that.  If you allocate 4096 1-byte
elements, page_frag will just use up a page.  Doing the same thing with
genalloc requires allocating two bits per byte (1kB of bitmap), plus
other overheads.
I had misunderstood the amount of page_frag structures needed.

--
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 (26 messages) 26 messages, 3 authors, last reply 2018-03-25
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