Re: [PATCH] Revert "mm: rename _count, field of the struct page, to _refcount"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/16/2016 11:22 AM, Vitaly Kuznetsov wrote:
_count -> _refcount rename in commit 0139aa7b7fa12 ("mm: rename _count,
field of the struct page, to _refcount") broke kdump. makedumpfile(8) does
stuff like READ_MEMBER_OFFSET("page._count", page._count) and fails. While
it is definitely possible to fix this particular tool I'm not sure about
other tools which might be doing the same.

I suggest we remember the "we don't break userspace" rule and revert for
4.7 while it's not too late.

I don't think the rule applies to tools such as kdump and crash, or e.g. systemtap, that interact with kernel internals even though they are technically "userspace". They have to adapt to new kernel versions all the time, the internal APIs are not frozen. Otherwise we would be quite limited in evolving the kernel...

So even though the change in question is not essential (field rename) and reverting wouldn't really hurt technical progress, this is not a sufficient reason, IMO. Thus, NAK.

Vlastimil
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux