public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] per-cpu areas
       [not found] <E17wsrr-0007bD-00@wagner.rustcorp.com.au>
@ 2002-02-12  4:58 ` Ravikiran G Thirumalai
  2002-02-13  9:48   ` Rusty Russell
  2002-02-19  2:05 ` Something Wrong with LKML ???? Zoran Davidovac
  1 sibling, 1 reply; 4+ messages in thread
From: Ravikiran G Thirumalai @ 2002-02-12  4:58 UTC (permalink / raw)
  To: Rusty Russell; +Cc: linux-kernel

> +static void __init setup_per_cpu_areas(void)
> +{
> +	unsigned long size, i;
> +	char *ptr;
> +	/* Created by linker magic */
> +	extern char __per_cpu_start[], __per_cpu_end[];
> +
> +	/* Copy section for each CPU (we discard the original) */
> +	size = ALIGN(__per_cpu_end - __per_cpu_start, SMP_CACHE_BYTES);
> +	ptr = alloc_bootmem(size * NR_CPUS);

Would it be possible to free up NR_CPUS - smp_num_cpus worth of memory 
after smp_init? .... 

Regards,
Kiran

-- 
Ravikiran G Thirumalai <kiran@in.ibm.com>
Linux Technology Center, IBM Software Labs,
Bangalore.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] per-cpu areas
  2002-02-12  4:58 ` [PATCH] per-cpu areas Ravikiran G Thirumalai
@ 2002-02-13  9:48   ` Rusty Russell
  0 siblings, 0 replies; 4+ messages in thread
From: Rusty Russell @ 2002-02-13  9:48 UTC (permalink / raw)
  To: Ravikiran G Thirumalai; +Cc: linux-kernel

In message <20020212102852.I32236@in.ibm.com> you write:
> > +static void __init setup_per_cpu_areas(void)
> > +{
> > +	unsigned long size, i;
> > +	char *ptr;
> > +	/* Created by linker magic */
> > +	extern char __per_cpu_start[], __per_cpu_end[];
> > +
> > +	/* Copy section for each CPU (we discard the original) */
> > +	size = ALIGN(__per_cpu_end - __per_cpu_start, SMP_CACHE_BYTES);
> > +	ptr = alloc_bootmem(size * NR_CPUS);
> 
> Would it be possible to free up NR_CPUS - smp_num_cpus worth of memory 
> after smp_init? .... 

Yes, but memory is cheap, and writing a special "partial free"
function for this is icky.  Maybe in 2 years when the per-cpu area is
100MB. 8)

We're better off reducing NR_CPUs to the maxmimum possible value of
smp_num_cpus() on that machine, IMHO.

Rusty.
--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Something Wrong with LKML ????
       [not found] <E17wsrr-0007bD-00@wagner.rustcorp.com.au>
  2002-02-12  4:58 ` [PATCH] per-cpu areas Ravikiran G Thirumalai
@ 2002-02-19  2:05 ` Zoran Davidovac
  2002-02-19  8:19   ` Matti Aarnio
  1 sibling, 1 reply; 4+ messages in thread
From: Zoran Davidovac @ 2002-02-19  2:05 UTC (permalink / raw)
  To: linux-kernel

>From Feb 13 09:23:09 until now Tue Feb 19 03:00:08 CET 2002 
I did not get any mail from relay=vger.kernel.org [12.107.208.194]

something wrong ?

or am I unsubscribed of this list because
my mail box was off for few hours 
during upgrade ?

please CC on mail I not sure I am on list.

Thank You,

	Zoran

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Something Wrong with LKML ????
  2002-02-19  2:05 ` Something Wrong with LKML ???? Zoran Davidovac
@ 2002-02-19  8:19   ` Matti Aarnio
  0 siblings, 0 replies; 4+ messages in thread
From: Matti Aarnio @ 2002-02-19  8:19 UTC (permalink / raw)
  To: Zoran Davidovac; +Cc: linux-kernel

On Tue, Feb 19, 2002 at 03:05:48AM +0100, Zoran Davidovac wrote:
> Date:	Tue, 19 Feb 2002 03:05:48 +0100
> From:	Zoran Davidovac <zdavid@unicef.org.yu>
> To:	linux-kernel@vger.kernel.org
> Subject: Something Wrong with LKML ????
> 
> >From Feb 13 09:23:09 until now Tue Feb 19 03:00:08 CET 2002 
> I did not get any mail from relay=vger.kernel.org [12.107.208.194]
> 
> something wrong ?
> or am I unsubscribed of this list because
> my mail box was off for few hours 
> during upgrade ?

   Yes, sort of.   We got a large bunch of "relaying denied"
   bounces from your domain's backup MX server.

   Use the tool:   http://vger.kernel.org/mxverify.html
   to see, how your email setup appears to the email senders.

> please CC on mail I not sure I am on list.
> Thank You,
> 	Zoran

/Matti Aarnio

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-02-19  8:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E17wsrr-0007bD-00@wagner.rustcorp.com.au>
2002-02-12  4:58 ` [PATCH] per-cpu areas Ravikiran G Thirumalai
2002-02-13  9:48   ` Rusty Russell
2002-02-19  2:05 ` Something Wrong with LKML ???? Zoran Davidovac
2002-02-19  8:19   ` Matti Aarnio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox