Converting ebitmaps to copy-on-write?
Can anyone think of reason why converting the ebitmap code to a copy on write scheme would be a bad idea? Yes, there would be some overhead in maintaining reference counts but I suspect the added overhead would be more than offset by the reduction in kmalloc() calls ... thoughts?
Signature · 7 lines
paul moore linux security @ hp -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 6 lines · Paul Moore
Can anyone think of reason why converting the ebitmap code to a copy on write scheme would be a bad idea? Yes, there would be some overhead in maintaining reference counts but I suspect the added overhead would be more than offset by the reduction in
kmalloc()calls ... thoughts?
Which ebitmaps are shared enough for this to help? I don't think I have enough context to know whether this would be a good idea or not.
Karl
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 9 lines · Karl MacMillan
Quoted 5 lines · Paul Moore
Can anyone think of reason why converting the ebitmap code to a copy on write scheme would be a bad idea? Yes, there would be some overhead in maintaining reference counts but I suspect the added overhead would be more than offset by the reduction in
kmalloc()calls ... thoughts?Which ebitmaps are shared enough for this to help? I don't think I have enough context to know whether this would be a good idea or not.
Stephen Smalley and I had a discussion off list about this and came to a solution that addresses my concerns (performance for the NetLabel/CIPSO patch).
Signature · 7 lines
paul moore linux security @ hp -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.