Re: missing bit for thread_info-next-to-task_struct patch

From: David Mosberger (davidm@napali.hpl.hp.com)
Date: Thu Jun 19 2003 - 00:06:52 EST


>>>>> On Thu, 19 Jun 2003 06:00:59 +0100, Christoph Hellwig <hch@infradead.org> said:

  Christoph> On Wed, Jun 18, 2003 at 06:02:20PM -0700, David Mosberger wrote:
>> +++ b/include/linux/sched.h Wed Jun 18 18:01:04 2003
>> @@ -504,9 +509,10 @@
>> */
>> extern struct exec_domain default_exec_domain;
>>
>> -#ifndef INIT_THREAD_SIZE
>> -# define INIT_THREAD_SIZE 2048*sizeof(long)
>> -#endif
>> +#ifndef __HAVE_ARCH_TASK_STRUCT_ALLOCATOR
>> +# ifndef INIT_THREAD_SIZE
>> +# define INIT_THREAD_SIZE 2048*sizeof(long)
>> +# endif

  Christoph> This looks strange. Either you move the ifndef INIT_THREAD_SIZE
  Christoph> outside the other ifdef or maybe remove it comepltly it it's
  Christoph> not needed otherwise..

The INIT_THREAD_SIZE cleanup can be done as a separate patch. I don't
want to hack (and probably break) UM for no good reason.

        --david
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jun 23 2003 - 22:00:28 EST