## How Hot is too hot?

### How Hot is too hot?

I have 2 HP 715's (and two pc's) running in my tiny office.  There is no
air conditioning vent in my office.  It can get relatively toasty in
here.  I know that inside the machine it's about 40 degrees F warmer
than the surrounding air. At least the was the correct answer on the CNE
exam.

How warm can it get in my office, without risk to my machines?

Thanks!!! Christie

Christine Basso
Information and Telecommunications Field Development

Hi!

Swsusp counts free pages, and relies on fact that when it allocates
page there's one free page less. That is no longer true with hot
pages.

I attempted to work it around but it seems I am getting hot pages even
when I ask for cold one. This seems to fix it. Does it looks like
"possibly mergable" patch?

Pavel

--- clean/kernel/suspend.c      2002-11-01 00:37:42.000000000 +0100

-       p = pagedir = (suspend_pagedir_t *)__get_free_pages(GFP_ATOMIC, pagedir_order);
+       p = pagedir = (suspend_pagedir_t *)__get_free_pages(GFP_ATOMIC | __GFP_COLD, pagedir_order);
if(!pagedir)
return NULL;

SetPageNosave(page++);

while(nr_copy_pages--) {
+               p->address = get_zeroed_page(GFP_ATOMIC | __GFP_COLD);
free_suspend_pagedir((unsigned long) pagedir);
return NULL;
}
p++;
--- clean/mm/page_alloc.c       2002-11-01 00:37:44.000000000 +0100

unsigned long flags;
struct page *page = NULL;

-       if (order == 0) {
+       if ((order == 0) && !cold) {
struct per_cpu_pages *pcp;

pcp = &zone->pageset[get_cpu()].pcp[cold];

--