All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sasha Levin <sasha.levin@oracle.com>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
	linux-mm@kvack.org, netdev@vger.kernel.org,
	linux-arch@vger.kernel.org, linux-fsdevel@vger.kernel.org,
	linux-crypto@vger.kernel.org
Subject: Re: [PATCH] mm: kill kmemcheck
Date: Wed, 11 Mar 2015 10:43:29 -0400	[thread overview]
Message-ID: <55005491.5080809@oracle.com> (raw)
In-Reply-To: <20150311102636.6b4110a8@gandalf.local.home>

On 03/11/2015 10:26 AM, Steven Rostedt wrote:
>> There's no real hurry to kill kmemcheck right now, but we do want to stop
>> > supporting that in favour of KASan.
> Understood, but the kernel is suppose to support older compilers.
> Perhaps we can keep kmemcheck for now and say it's obsoleted if you
> have a newer compiler. Because it will be a while before I upgrade my
> compilers. I don't upgrade unless I have a good reason to do so. Not
> sure KASan fulfills that requirement.

It's not that there's a performance overhead with kmemcheck, it's the
maintenance effort that we want to get rid of.

The kernel should keep supporting old kernels, and after this kmemcheck
removal your kernel will still keep working - this is more of a removal
of a mostly unused feature that had hooks everywhere in the kernel.

Did you actually find anything recently with kmemcheck? How do you deal
with the 1 CPU limit and the massive performance hit?

Could you try KASan for your use case and see if it potentially uncovers
anything new?


Thanks,
Sasha

WARNING: multiple messages have this Message-ID (diff)
From: Sasha Levin <sasha.levin@oracle.com>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
	linux-mm@kvack.org, netdev@vger.kernel.org,
	linux-arch@vger.kernel.org, linux-fsdevel@vger.kernel.org,
	linux-crypto@vger.kernel.org
Subject: Re: [PATCH] mm: kill kmemcheck
Date: Wed, 11 Mar 2015 10:43:29 -0400	[thread overview]
Message-ID: <55005491.5080809@oracle.com> (raw)
In-Reply-To: <20150311102636.6b4110a8@gandalf.local.home>

On 03/11/2015 10:26 AM, Steven Rostedt wrote:
>> There's no real hurry to kill kmemcheck right now, but we do want to stop
>> > supporting that in favour of KASan.
> Understood, but the kernel is suppose to support older compilers.
> Perhaps we can keep kmemcheck for now and say it's obsoleted if you
> have a newer compiler. Because it will be a while before I upgrade my
> compilers. I don't upgrade unless I have a good reason to do so. Not
> sure KASan fulfills that requirement.

It's not that there's a performance overhead with kmemcheck, it's the
maintenance effort that we want to get rid of.

The kernel should keep supporting old kernels, and after this kmemcheck
removal your kernel will still keep working - this is more of a removal
of a mostly unused feature that had hooks everywhere in the kernel.

Did you actually find anything recently with kmemcheck? How do you deal
with the 1 CPU limit and the massive performance hit?

Could you try KASan for your use case and see if it potentially uncovers
anything new?


Thanks,
Sasha

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2015-03-11 14:43 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-11 11:43 [PATCH] mm: kill kmemcheck Sasha Levin
2015-03-11 11:43 ` Sasha Levin
2015-03-11 11:43 ` Sasha Levin
2015-03-11 12:19 ` Steven Rostedt
2015-03-11 12:19   ` Steven Rostedt
2015-03-11 12:34   ` Sasha Levin
2015-03-11 12:34     ` Sasha Levin
2015-03-11 12:40     ` Steven Rostedt
2015-03-11 12:40       ` Steven Rostedt
2015-03-11 13:39       ` Sasha Levin
2015-03-11 13:39         ` Sasha Levin
2015-03-11 14:23         ` Dave Jones
2015-03-11 14:23           ` Dave Jones
2015-03-11 14:26         ` Steven Rostedt
2015-03-11 14:26           ` Steven Rostedt
2015-03-11 14:43           ` Sasha Levin [this message]
2015-03-11 14:43             ` Sasha Levin
2015-03-11 14:52             ` Steven Rostedt
2015-03-11 14:52               ` Steven Rostedt
2015-03-17  1:48               ` Sasha Levin
2015-03-17  1:48                 ` Sasha Levin
2015-03-17  2:33                 ` Steven Rostedt
2015-03-17  2:33                   ` Steven Rostedt
2015-03-11 14:35         ` Boaz Harrosh
2015-03-11 14:35           ` Boaz Harrosh
2015-03-11 17:20         ` David Miller
2015-03-11 17:20           ` David Miller
2015-03-11 17:25           ` Sasha Levin
2015-03-11 17:25             ` Sasha Levin
2015-03-11 18:44             ` David Miller
2015-03-11 18:44               ` David Miller
2015-03-11 20:01               ` Andrey Ryabinin
2015-03-11 20:01                 ` Andrey Ryabinin
2015-03-11 20:48                 ` David Miller
2015-03-11 20:48                   ` David Miller
2015-03-12  0:57 ` Rusty Russell
2015-03-12  0:57   ` Rusty Russell
2015-03-12  0:57   ` Rusty Russell
2015-03-12  3:49 ` Michael Ellerman
2015-03-12  3:49   ` Michael Ellerman
2015-03-12  3:49   ` Michael Ellerman
2015-03-12 12:40   ` Sasha Levin
2015-03-12 12:40     ` Sasha Levin
2015-03-12 18:11     ` David Miller
2015-03-12 13:47   ` Steven Rostedt
2015-03-12 13:47     ` Steven Rostedt
2015-03-12 13:47     ` Steven Rostedt
2015-03-12  7:07 ` Pekka Enberg
2015-03-12  7:07   ` Pekka Enberg
2015-03-12 12:51   ` Sasha Levin
2015-03-12 12:51     ` Sasha Levin
2015-03-12 13:00   ` Jonathan Corbet
2015-03-12 13:00     ` Jonathan Corbet
2015-03-12 13:00     ` Jonathan Corbet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55005491.5080809@oracle.com \
    --to=sasha.levin@oracle.com \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=netdev@vger.kernel.org \
    --cc=rostedt@goodmis.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.