Re: [PATCH 01/28] staging: most: allocate only all requested memory

2018-05-11 Thread Christian Gromm
On 09.05.2018 17:29, Greg KH wrote: On Wed, May 09, 2018 at 05:18:47PM +0200, Christian Gromm wrote: On 09.05.2018 16:54, Dan Carpenter wrote: On Wed, May 09, 2018 at 04:09:21PM +0200, Christian Gromm wrote: On 09.05.2018 15:19, Dan Carpenter wrote: On Tue, May 08, 2018 at 11:44:49AM +0200, C

Re: [PATCH 01/28] staging: most: allocate only all requested memory

2018-05-09 Thread Greg KH
On Wed, May 09, 2018 at 05:18:47PM +0200, Christian Gromm wrote: > On 09.05.2018 16:54, Dan Carpenter wrote: > > On Wed, May 09, 2018 at 04:09:21PM +0200, Christian Gromm wrote: > > > On 09.05.2018 15:19, Dan Carpenter wrote: > > > > On Tue, May 08, 2018 at 11:44:49AM +0200, Christian Gromm wrote:

Re: [PATCH 01/28] staging: most: allocate only all requested memory

2018-05-09 Thread Christian Gromm
On 09.05.2018 16:54, Dan Carpenter wrote: On Wed, May 09, 2018 at 04:09:21PM +0200, Christian Gromm wrote: On 09.05.2018 15:19, Dan Carpenter wrote: On Tue, May 08, 2018 at 11:44:49AM +0200, Christian Gromm wrote: This prohibits the allocation of the memory for the MBOs if only the part of the

Re: [PATCH 01/28] staging: most: allocate only all requested memory

2018-05-09 Thread Dan Carpenter
On Wed, May 09, 2018 at 04:09:21PM +0200, Christian Gromm wrote: > On 09.05.2018 15:19, Dan Carpenter wrote: > > On Tue, May 08, 2018 at 11:44:49AM +0200, Christian Gromm wrote: > > > This prohibits the allocation of the memory for the MBOs if only the > > > part of the MBOs, requested by the appli

Re: [PATCH 01/28] staging: most: allocate only all requested memory

2018-05-09 Thread Christian Gromm
On 09.05.2018 15:19, Dan Carpenter wrote: On Tue, May 08, 2018 at 11:44:49AM +0200, Christian Gromm wrote: This prohibits the allocation of the memory for the MBOs if only the part of the MBOs, requested by the application, may be allocated. The function arm_mbo_chain, if cannot allocate all re

Re: [PATCH 01/28] staging: most: allocate only all requested memory

2018-05-09 Thread Dan Carpenter
On Tue, May 08, 2018 at 11:44:49AM +0200, Christian Gromm wrote: > This prohibits the allocation of the memory for the MBOs if only the > part of the MBOs, requested by the application, may be allocated. The > function arm_mbo_chain, if cannot allocate all requested MBO, frees all > prior allocate

[PATCH 01/28] staging: most: allocate only all requested memory

2018-05-08 Thread Christian Gromm
This prohibits the allocation of the memory for the MBOs if only the part of the MBOs, requested by the application, may be allocated. The function arm_mbo_chain, if cannot allocate all requested MBO, frees all prior allocated memory and returns 0. Signed-off-by: Andrey Shvetsov Signed-off-by: C