[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180121071903.GD28161@8bytes.org>
Date: Sun, 21 Jan 2018 08:19:04 +0100
From: Jörg Rödel <joro@...tes.org>
To: Joe Perches <joe@...ches.com>
Cc: SF Markus Elfring <elfring@...rs.sourceforge.net>,
iommu@...ts.linux-foundation.org,
David Woodhouse <dwmw2@...radead.org>,
LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] Intel-IOMMU: Delete an error message for a failed memory
allocation in init_dmars()
On Sat, Jan 20, 2018 at 05:37:52PM -0800, Joe Perches wrote:
> While Markus' commit messages are nearly universally terrible,
> is there really any signficant value in knowing when any
> particular OOM condition occurs other than the subsystem that
> became OOM?
>
> You're going to be hosed in any case.
>
> Why isn't the generic OOM stack dump good enough?
Because if we know the exact allocation attempt that failed right away,
we can more easily check if we can rewrite it so that it is more likely
to succeed, e.g. rewriting one higher-order allocation to multiple
order-0 allocations.
Joerg
Powered by blists - more mailing lists