Re: [PATCH v4 9/9] selinux: Add a cache for quicker retreival of PKey SIDs

2016-11-09 Thread Daniel Jurgens
On 11/9/2016 1:05 AM, Leon Romanovsky wrote: > On Tue, Nov 08, 2016 at 11:06:25PM +0200, Dan Jurgens wrote: >> From: Daniel Jurgens >> >> It is likely that the SID for the same PKey will be requested many >> times. To reduce the time to modify QPs and process MADs use a cache to >> store PKey SIDs

Re: [PATCH v4 9/9] selinux: Add a cache for quicker retreival of PKey SIDs

2016-11-09 Thread Leon Romanovsky
On Tue, Nov 08, 2016 at 11:06:25PM +0200, Dan Jurgens wrote: > From: Daniel Jurgens > > It is likely that the SID for the same PKey will be requested many > times. To reduce the time to modify QPs and process MADs use a cache to > store PKey SIDs. > > This code is heavily based on the "netif" and

Re: [PATCH v4 9/9] selinux: Add a cache for quicker retreival of PKey SIDs

2016-11-09 Thread kbuild test robot
Hi Daniel, [auto build test WARNING on rdma/master] [also build test WARNING on v4.9-rc4] [cannot apply to next-20161108] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Dan-Jurgens/SELinux-suppo

[PATCH v4 9/9] selinux: Add a cache for quicker retreival of PKey SIDs

2016-11-08 Thread Dan Jurgens
From: Daniel Jurgens It is likely that the SID for the same PKey will be requested many times. To reduce the time to modify QPs and process MADs use a cache to store PKey SIDs. This code is heavily based on the "netif" and "netport" concept originally developed by James Morris and Paul Moore (