[dm-devel] [PATCH 19/20] md: simplify free_params for kmalloc vs vmalloc fallback

Michal Hocko mhocko at kernel.org
Thu Apr 28 16:00:21 UTC 2016


On Thu 28-04-16 11:37:31, Mike Snitzer wrote:
> On Thu, Apr 28 2016 at  9:24am -0400,
> Michal Hocko <mhocko at kernel.org> wrote:
> 
> > From: Michal Hocko <mhocko at suse.com>
> > 
> > Use kvfree rather than DM_PARAMS_[KV]MALLOC specific param flags.
> > 
> > Cc: Shaohua Li <shli at kernel.org>
> > Cc: Mikulas Patocka <mpatocka at redhat.com>
> > Cc: dm-devel at redhat.com
> > Signed-off-by: Michal Hocko <mhocko at suse.com>
> 
> Nack, seriously, this is the 3rd time this patch has been attempted.
> Did you actually test the change?  It'll crash very quickly, see:
> 
> https://www.redhat.com/archives/dm-devel/2016-April/msg00103.html

You are right! My bad I should have checked the other callers!

-- 
Michal Hocko
SUSE Labs




More information about the dm-devel mailing list