Re: [PATCH v2] mm/zsmalloc: add statistics support

From: Andrew Morton
Date: Fri Dec 19 2014 - 18:45:55 EST


On Sat, 20 Dec 2014 08:39:37 +0900 Minchan Kim <minchan@xxxxxxxxxx> wrote:

> Then, we should fix debugfs_create_dir can return errno to propagate the error
> to end user who can know it was failed ENOMEM or EEXIST.

Impractical. Every caller of every debugfs interface will need to be
changed!

It's really irritating and dumb. What we're supposed to do is to
optionally report the failure, then ignore it. This patch appears to
be OK in that respect.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/