The changes to the epitem struct to support waitfd() / poll_wait_fixed()
cause it to be larger than the limit enforced by the BUILD_BUG_ON. The
dropping of this build assertion is in line with the suggestion by Andrew
Morton in https://lkml.org/lkml/2013/3/8/467.
Orabug:
20456825
Signed-off-by: Nick Alcock <nick.alcock@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Acked-by: Guru Anbalagane <guru.anbalagane@oracle.com>
* We can have many thousands of epitems, so prevent this from
* using an extra cache line on 64-bit (and smaller) CPUs
*/
- BUILD_BUG_ON(sizeof(void *) <= 8 && sizeof(struct epitem) > 128);
/* Allocates slab cache used to allocate "struct epitem" items */
epi_cache = kmem_cache_create("eventpoll_epi", sizeof(struct epitem),