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


Groups > linux.kernel > #1391721

Re: [PATCH] efibc: avoid stack overflow warning

Path csiph.com!goblin2!goblin.stu.neva.ru!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [PATCH] efibc: avoid stack overflow warning
Date Sun, 01 May 2016 01:30:02 +0200
Message-ID <rtMuK-7Od-7@gated-at.bofh.it> (permalink)
References <rtkIa-1vq-7@gated-at.bofh.it> <rtLIm-78D-5@gated-at.bofh.it> <rtLS1-7cr-1@gated-at.bofh.it>
X-Original-To Matt Fleming <matt@codeblueprint.co.uk>
User-Agent KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; )
MIME-Version 1.0
Content-Transfer-Encoding 7Bit
Content-Type text/plain; charset="us-ascii"
X-Provags-ID V03:K0:Ej2rYx4wD2QGk0ObqY2N4/STOEa70/QKDN/4AnbI9G7+fFSm6cg sh+jJd9zhZJhoSDRT5CcnNxIohRtGZOIFjr2RoHcYLxWFBMx1OxHqUwzBWVJrJ8oUb10IOc 3FmOUGq5NUfXaVac4NOPhMFcaFXjdHUYDlRtkX4dBtPm5oLBJ5yD0XaiMuPkXzMrfwZr8ZQ 99CetsqWt61m5jYULwAJw==
X-Ui-Out-Filterresults notjunk:1;V01:K0:QTPrd0J1lWs=:vjDE2Y7X2oSKs6Og7Il1WB rDOVETg0z00oCVKURKCcmy5U7lxArSB4OPqCkJWHPscBcTZ02Je/BW9k2vtPYbniEep0xD6IN 31HK06Fqx22S++xocKLECGsal1ulh8AWSahzUnWSU1PtKm6OBkdT0mnWU5YDseldfM7ZRR5Nq cEx2ZhEvkDV9XicYdDUfojTmDTAtVox0JA6Fy07np+pUeDUWtBHgYEB+C8/JofEn5A8hxCHpJ 6md8HqvAWYdnLK/RwBgKX9AthnF5eeBrZB6ZdLDKK8xTj+ca1gc6OVjPjpXmD01rqiu5N+Wpm adi4wZ1eWrRPhIxbOt9QieC7JnZ4C95uiV7wueAGX7dxnh5Ex7Z3JhxGy1lhyb+1qwhK0KzdW ErLKluua5YljpYpyOnHJyNN8p2tD+u3o5qxrd+ugxHg+Q/SEPIYqzLZVjpJUdZxcHdjvkZ8IQ Pjm9TLl6lV0o7391fnJOD9wySeZf5+vsDU0p9vfJkCqOm9dC9PP/67EqiKpKTqGTQGJ9pvok1 AezK2zP6JlKtTOGyM3LNGXu7YgtlHUfkac3+RZescViBJhOiG0NbUSRDgDLY9EkYuKXUsMcUs wiNlq+o2BPPo9PhBwA7iUC/cRtgB7zSHRdP74ORzak6kQPcLw02qSic/oZVoFZz/mlaooQn7f t6JiFTVP+TZh3EoSf2vr5nXjTvQFYyuHHK7J0O62tZm7bO1HdjTZr5R8Yvhg7BrB/S5JpoM5F MJ2rLw7SBVyWEiFW
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 16
Organization linux.* mail to news gateway
X-Original-Cc "Compostella, Jeremy" <jeremy.compostella@intel.com>, Ingo Molnar <mingo@kernel.org>, linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org
X-Original-Date Sun, 01 May 2016 01:25:12 +0200
X-Original-Message-ID <2137916.p0oDBh93bk@wuerfel>
X-Original-References <1461952128-2135409-1-git-send-email-arnd@arndb.de> <18565207.dPI1UNgYiO@wuerfel> <20160430224641.GQ2839@codeblueprint.co.uk>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1391721

Show key headers only | View raw


On Saturday 30 April 2016 23:46:41 Matt Fleming wrote:
> 
> > It's not something we'd have to worry about in practice, but it does
> > make my patch incorrect. Should we come up with a different way to
> > do it?
> 
> Jeremy proposed a patch to dynamically allocate the memory, which I
> think is the correct way to go given that our (reasonable) assumptions
> about reboot notifier concurrency are not guaranteed,
> 
>   https://lkml.kernel.org/r/87h9eked24.fsf@jcompost-MOBL1.tl.intel.com

Sure, that works. I considered doing it that way but it seemed more
complicated. Please use that patch instead of mine.

	Arnd

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


Thread

[PATCH] efibc: avoid stack overflow warning Arnd Bergmann <arnd@arndb.de> - 2016-04-29 19:50 +0200
  Re: [PATCH] efibc: avoid stack overflow warning Matt Fleming <matt@codeblueprint.co.uk> - 2016-04-30 22:20 +0200
    Re: [PATCH] efibc: avoid stack overflow warning Arnd Bergmann <arnd@arndb.de> - 2016-05-01 00:40 +0200
      Re: [PATCH] efibc: avoid stack overflow warning Matt Fleming <matt@codeblueprint.co.uk> - 2016-05-01 00:50 +0200
        Re: [PATCH] efibc: avoid stack overflow warning Arnd Bergmann <arnd@arndb.de> - 2016-05-01 01:30 +0200
          Re: [PATCH] efibc: avoid stack overflow warning Matt Fleming <matt@codeblueprint.co.uk> - 2016-05-01 15:20 +0200

csiph-web