Re: [PATCH v2] livepatch: old_name.number scheme in livepatch sysfs directory

From: Josh Poimboeuf
Date: Tue Nov 03 2015 - 15:06:18 EST


On Tue, Nov 03, 2015 at 08:57:24PM +0100, Jiri Kosina wrote:
> On Tue, 3 Nov 2015, Petr Mladek wrote:
>
> > Also I would omit the suffix at all when it is the first occurrence. It
> > will cause that unique symbols will not be numbered.
>
> That'd mean that the names (including suffixes) are not stable, because a
> particular name that has originally been unique can later be made
> non-unique when module brings in a conflicting name.

The numbering (and uniqueness) is per-object, so the same symbol name
from another module would live in a separate namespace and wouldn't
create a conflict.

--
Josh
--
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/