From: "P. Christeas" <p_christ-U04EIuiosng@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: 2.5.51: sleep broken
Date: Sun, 15 Dec 2002 23:56:09 +0200 [thread overview]
Message-ID: <200212152356.09656.p_christ@hol.gr> (raw)
In-Reply-To: <200212131604.23595.p_christ-U04EIuiosng@public.gmane.org>
I also noted some perculiarity in the code:
in: linux/arch/i386/kernel/acpi.c
in: acpi_reserve_bootmem(void)
...
if ((&wakeup_end - &wakeup_start) > PAGE_SIZE)
printk(KERN_CRIT "ACPI: Wakeup code way too big, will crash on
attempt to suspend (0x%8.8lx)\n",
(&wakeup_end - &wakeup_start));
--- I added the parameter to see what's happening. The message indicated an
0x3000 size. (12k)
the comment for the fn says:
* We allocate a page in low memory for the wakeup
* routine for when we come back from a sleep state. The
* runtime allocator allows specification of <16M pages, but not
* <1M pages.
Are the above lines correct? AFAIK macro PAGE_SIZE = 4096
That would mean that only <4k code is allowed. OK, but the comment suggests
otherwise...
-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
next prev parent reply other threads:[~2002-12-15 21:56 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-12 22:42 2.5.51: sleep broken Grover, Andrew
[not found] ` <EDC461A30AC4D511ADE10002A5072CAD04C7A591-OU+JdkIUtvd9zuciVAfUoVDQ4js95KgL@public.gmane.org>
2002-12-12 23:11 ` P. Christeas
[not found] ` <200212130111.32710.p_christ-U04EIuiosng@public.gmane.org>
2002-12-13 14:04 ` P. Christeas
[not found] ` <200212131604.23595.p_christ-U04EIuiosng@public.gmane.org>
2002-12-15 21:56 ` P. Christeas [this message]
[not found] ` <200212152356.09656.p_christ-U04EIuiosng@public.gmane.org>
2002-12-16 20:30 ` Ducrot Bruno
[not found] ` <20021216203016.GF16669-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2002-12-16 21:51 ` P. Christeas
2002-12-16 21:59 ` P. Christeas
-- strict thread matches above, loose matches on Subject: below --
2002-12-10 13:34 P. Christeas
[not found] ` <200212101534.12838.p_christ-U04EIuiosng@public.gmane.org>
2002-12-11 11:41 ` Pavel Machek
2002-12-12 18:22 ` P. Christeas
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=200212152356.09656.p_christ@hol.gr \
--to=p_christ-u04eiuiosng@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox