linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Qian Cai <cai@lca.pw>
To: David Hildenbrand <david@redhat.com>
Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org,
	Andrew Morton <akpm@linux-foundation.org>,
	Michal Hocko <mhocko@kernel.org>,
	Oscar Salvador <osalvador@suse.de>
Subject: Re: [PATCH v1] mm/memory_hotplug: don't check the nid in find_(smallest|biggest)_section_pfn
Date: Thu, 28 Nov 2019 08:56:17 -0500	[thread overview]
Message-ID: <F768F9E2-6413-437A-827F-6105D6DDCD94@lca.pw> (raw)
In-Reply-To: <4cfadccf-d77e-0cff-f870-0ff069d41271@redhat.com>



> On Nov 28, 2019, at 3:46 AM, David Hildenbrand <david@redhat.com> wrote:
> 
> I'm sorry to say but one of the main reasons we have linux-next for is
> to find BUGs early, before they go upstream. It is a way of giving
> patches *more* testing. Yes, you are doing to dirty work (which is
> highly appreciated btw) by debugging all that crap, and I can understand
> how that can be frustrating.

It is already an expensive development practice if developers need to rely on someone else to figure out their own bugs in linux-next. linux-next is for integration testing, but majority of those regressions I had to deal with nowadays have nothing to do with integration, i.e., interaction with other subsystems.

> 
> But believe me, the world won't end if your on vacation for a couple of
> weeks, even though some BUGs could sneak in ... e.g., lately I try to
> review as much as I can on the MM list (and Michal is steadily watching
> out as well).

Sure, the world will still be running, but good luck on solely rely on reviewing with bare eyes before merging.

> 
> The solution to your problem is more review and testing, really. E.g.,
> I'd be very happy if other developers would test their patches more
> thoroughly and if there would be more review activity on the MM list in
> general (my patches barely get any review ... and I sent a lot of fixes
> lately).

Of course, that helps but it is a culture that very difficult to change now. How many times I saw even high-profile developers proudly sent out patches labeled “no testing” explicitly and implicitly ?

> 
> As soon as we stop touching our code because we are afraid of BUGs, we
> lost the battle against an unmaintainable code base.

Your generalizations of things make me sorrow.

> 
> BTW: [1] mentions "unbalanced software development culture with regard
> to quality vs quantity that supplies an endless stream of bugs". I don't
> agree to this statement. There will *always* be an endless stream of
> BUGs - and most of them come from new features and performance
> improvements IMHO. To me, cleanups and refactorings are important tools
> to improve the software quality (and reduce the code size). All we can
> do is try to minimize the number of BUGs - e.g., via more code review,
> manual testing, automatic testing, and by actually understanding the
> code. Cleanups/refactorings can even fix undiscovered BUGs (e.g., latest
> example is [2])

Surely, most of people probably don’t care about those endless bugs because Linux is a monopoly in data center and open source and it is always like this since Linux was born as a hobby project.

  reply	other threads:[~2019-11-28 13:56 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-27 17:41 [PATCH v1] mm/memory_hotplug: don't check the nid in find_(smallest|biggest)_section_pfn David Hildenbrand
2019-11-27 19:03 ` Qian Cai
2019-11-27 19:05   ` David Hildenbrand
2019-11-27 19:37     ` Qian Cai
2019-11-27 19:52       ` David Hildenbrand
2019-11-27 20:49         ` David Hildenbrand
2019-11-27 22:56           ` Qian Cai
2019-11-28  8:46             ` David Hildenbrand
2019-11-28 13:56               ` Qian Cai [this message]
2019-11-28 14:03                 ` David Hildenbrand
2019-11-28 14:30                   ` Qian Cai
2019-11-28 14:42                     ` Michal Hocko
2019-11-28 14:52                       ` David Hildenbrand
2019-11-28 15:29                         ` Qian Cai
2019-11-28 15:31                           ` David Hildenbrand
2019-11-28 17:31                             ` Qian Cai
2019-11-28 15:46                           ` Michal Hocko
2019-11-28 17:22                             ` Qian Cai
2019-11-28 10:15 ` Michal Hocko
2019-11-28 13:52 ` Oscar Salvador

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=F768F9E2-6413-437A-827F-6105D6DDCD94@lca.pw \
    --to=cai@lca.pw \
    --cc=akpm@linux-foundation.org \
    --cc=david@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mhocko@kernel.org \
    --cc=osalvador@suse.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).