From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Len Brown <lenb@kernel.org>
Cc: Pavel Machek <pavel@suse.cz>, Matt Mackall <mpm@selenic.com>,
"Moore, Robert" <robert.moore@intel.com>,
Ingo Molnar <mingo@elte.hu>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
"linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>
Subject: Re: [PATCH] x86: trim ACPI sleep stack buffer
Date: Thu, 9 Oct 2008 23:25:23 +0200 [thread overview]
Message-ID: <200810092325.24283.rjw@sisk.pl> (raw)
In-Reply-To: <alpine.LFD.1.10.0810091435150.3007@localhost.localdomain>
On Thursday, 9 of October 2008, Len Brown wrote:
> applied (before the stack change patch:-) to acpi-test
FWIW, I had a look at it, looks good.
Thanks,
Rafael
> On Thu, 9 Oct 2008, Pavel Machek wrote:
>
> > On Thu 2008-10-09 12:41:50, Matt Mackall wrote:
> > > On Thu, 2008-10-09 at 10:23 -0700, Moore, Robert wrote:
> > > > Sounds like you need a
> > > >
> > > > #define DEFAULT_STACK_SIZE 4096
> > > >
> > > > Somewhere.
> > >
> > > Or maybe something like this:
> > >
> > >
> > > x86: remove magic number from ACPI sleep stack buffer
> > >
> > > Signed-off-by: Matt Mackall <mpm@selenic.com>
> >
> > Acked-by: Pavel Machek <pavel@suse.cz>
> >
> > > diff -r 375a00b8bf10 arch/x86/kernel/acpi/sleep.c
> > > --- a/arch/x86/kernel/acpi/sleep.c Thu Oct 09 12:38:55 2008 -0500
> > > +++ b/arch/x86/kernel/acpi/sleep.c Thu Oct 09 12:40:10 2008 -0500
> > > @@ -97,7 +97,7 @@
> > > #else /* CONFIG_64BIT */
> > > header->trampoline_segment = setup_trampoline() >> 4;
> > > #ifdef CONFIG_SMP
> > > - stack_start.sp = temp_stack + 4096;
> > > + stack_start.sp = temp_stack + sizeof(temp_stack);
> > > #endif
> > > initial_code = (unsigned long)wakeup_long64;
> > > saved_magic = 0x123456789abcdef0;
> > >
> > >
> >
> > --
> > (english) http://www.livejournal.com/~pavelmachek
> > (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
> >
> --
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
prev parent reply other threads:[~2008-10-09 21:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-01 0:12 Why is arch/x86/kernel/acpi/sleep.c:temp_stack 10k? Matt Mackall
2008-10-09 8:56 ` Pavel Machek
2008-10-09 16:56 ` [PATCH] x86: trim ACPI sleep stack buffer Matt Mackall
2008-10-09 17:19 ` Len Brown
2008-10-09 17:23 ` Moore, Robert
2008-10-09 17:41 ` Matt Mackall
2008-10-09 18:07 ` Pavel Machek
2008-10-09 18:35 ` Len Brown
2008-10-09 21:25 ` Rafael J. Wysocki [this message]
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=200810092325.24283.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=mpm@selenic.com \
--cc=pavel@suse.cz \
--cc=robert.moore@intel.com \
/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