[...]
kstrdup() is a special-case _memory allocator_ (not so much a string operation) so I think it should go into mm/slab.c where we currently have kcalloc().
I was following Rusty Russell's approach. Also, I believe this is more intuitive because the standard libc strdup function is declared in string.h.
However, I really don't have strong feelings either way, so if the majority agrees that this should be in mm/slab, its fine by me.
P.S. Please inline patches to your email as per Documentation/SubmittingPatches. I, for one, have trouble with attachments.
Unfortunately my email client messes up inline patches and wordwraps / mangles white space, so I resort to attaching them until I have time to look into fixing that :(
-- Paulo Marques - www.grupopie.com
All that is necessary for the triumph of evil is that good men do nothing. Edmund Burke (1729 - 1797) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

