[lttng-dev] [PATCH lttng-modules v5 2/5] Extract the FD sets in select and pselect6

Julien Desfossez jdesfossez at efficios.com
Mon Apr 25 20:42:41 UTC 2016


> +			if (inp) {
> +				tp_locvar->fds_in = kmalloc(
> +						tp_locvar->nr_ulong * sizeof(unsigned long),
> +						GFP_ATOMIC);

I replaced "GFP_ATOMIC" by "GFP_ATOMIC | GFP_NOWAIT" for every
allocation in this patch serie because ATOMIC does not imply NOWAIT.

Julien


More information about the lttng-dev mailing list