Re: [PATCH v3 0/2] net/sctp: Avoid allocating high order memory with kmalloc()

2018-08-11 Thread David Miller
From: Konstantin Khorenko Date: Fri, 10 Aug 2018 20:11:41 +0300 > Each SCTP association can have up to 65535 input and output streams. > For each stream type an array of sctp_stream_in or sctp_stream_out > structures is allocated using kmalloc_array() function. This function > allocates physicall

[PATCH v3 0/2] net/sctp: Avoid allocating high order memory with kmalloc()

2018-08-10 Thread Konstantin Khorenko
Each SCTP association can have up to 65535 input and output streams. For each stream type an array of sctp_stream_in or sctp_stream_out structures is allocated using kmalloc_array() function. This function allocates physically contiguous memory regions, so this can lead to allocation of memory regi