On Wednesday 18 December 2013, Dave Young wrote: > > > > I hadn't really thought about it. Putting these things in mm doesn't > > sound unreasonable, but lib seems to have become the place for a lot > > generic code which could also belong in mm, net, etc. > > > > IMHO, move subsystem lib code to subsystem core dir looks more reasonable. > lib should be the place for general kernel stuff. > > I'm not specific for and object this patch, just give my opinion about the lib/.. Traditionally, lib/ is for things that may or may not be used by other optional code, typically drivers, which I think is a reasonable concept. There has been some shift over the years from lib-$(CONFIG_FOO) towards obj-$(CONFIG_FOO), so it's not always used as a actual library code in the linker sense though. I would agree that moving mm related code such as early_ioremap into mm/ is a good idea. For things like the compression helpers lib/ is probably still the best place. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html