Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1742687

Re: [PATCH] mm: kill kmemcheck again

From "Levin, Alexander (Sasha Levin)" <alexander.levin@verizon.com>
Newsgroups linux.kernel
Subject Re: [PATCH] mm: kill kmemcheck again
Date 2017-09-30 22:10 +0200
Message-ID <uvwff-qT-7@gated-at.bofh.it> (permalink)
References <uuiHn-1IU-7@gated-at.bofh.it> <uum8j-4P4-37@gated-at.bofh.it> <uvmzf-2mW-3@gated-at.bofh.it> <uvqtc-4RM-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, Sep 30, 2017 at 03:57:27PM +0200, Vegard Nossum wrote:
>On 30 September 2017 at 11:48, Steven Rostedt <rostedt@goodmis.org> wrote:
>> On Wed, 27 Sep 2017 17:02:07 +0200
>> Michal Hocko <mhocko@kernel.org> wrote:
>>
>>> > Now that 2 years have passed, and all distros provide gcc that supports
>>> > KASAN, kill kmemcheck again for the very same reasons.
>>>
>>> This is just too large to review manually. How have you generated the
>>> patch?
>>
>> I agree. This needs to be taken out piece by piece, not in one go,
>> where there could be unexpected fallout.
>
>I have a patch from earlier this year that starts by removing the core
>code and defining all the helpers/flags as no-ops so they can be
>removed bit by bit at a later time. See the attachment. Pekka signed
>off on it too.
>e
>I never actually submitted this because I was waiting for MSAN to be

I'm not sure how much value there is in doing it this way. I agree that the patch is big, but most of it is simply removing code under arch/x86/mm/kmemcheck.

The difference between Vegard's patch and mine is about 300 lines (out of 2800+), where those 300 lines are simply removing calls to kmemcheck. There are no logic changes. (so something very similar to 's/*kmemcheck*//g' would do the trick).

--

Thanks,
Sasha

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH] mm: kill kmemcheck again Michal Hocko <mhocko@kernel.org> - 2017-09-27 17:10 +0200
  Re: [PATCH] mm: kill kmemcheck again "Levin, Alexander (Sasha Levin)" <alexander.levin@verizon.com> - 2017-09-27 17:30 +0200
    Re: [PATCH] mm: kill kmemcheck again ebiederm@xmission.com (Eric W. Biederman) - 2017-09-27 19:40 +0200
      Re: [PATCH] mm: kill kmemcheck again "Levin, Alexander (Sasha Levin)" <alexander.levin@verizon.com> - 2017-09-28 00:10 +0200
  Re: [PATCH] mm: kill kmemcheck again Steven Rostedt <rostedt@goodmis.org> - 2017-09-30 11:50 +0200
    Re: [PATCH] mm: kill kmemcheck again "Levin, Alexander (Sasha Levin)" <alexander.levin@verizon.com> - 2017-09-30 22:10 +0200
      Re: [PATCH] mm: kill kmemcheck again Michal Hocko <mhocko@kernel.org> - 2017-10-02 09:30 +0200

csiph-web