Re: [U-Boot] [PATCH v2 2/2] fs: fat: Reduce default max clustersize 64KiB from malloc pool

2019-01-31 Thread Chee, Tien Fong
On Thu, 2019-01-31 at 15:23 +0100, Marek Vasut wrote: > On 1/31/19 1:42 PM, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > > > > Release cluster block immediately when no longer use would help to > > reduce > > 64KiB memory allocated to the memory pool. > > > > Signed-off-by:

Re: [U-Boot] [PATCH v2 2/2] fs: fat: Reduce default max clustersize 64KiB from malloc pool

2019-01-31 Thread Marek Vasut
On 1/31/19 1:42 PM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > Release cluster block immediately when no longer use would help to reduce > 64KiB memory allocated to the memory pool. > > Signed-off-by: Tien Fong Chee > > --- > > changes for v2 > - Assigned NULL to itr after

[U-Boot] [PATCH v2 2/2] fs: fat: Reduce default max clustersize 64KiB from malloc pool

2019-01-31 Thread tien . fong . chee
From: Tien Fong Chee Release cluster block immediately when no longer use would help to reduce 64KiB memory allocated to the memory pool. Signed-off-by: Tien Fong Chee --- changes for v2 - Assigned NULL to itr after free. - Added NULL checking to itr, avoid freeing twice. --- fs/fat/fat.c |