1. 09 11月, 2005 2 次提交
    • O
      [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason · 733482e4
      Olaf Hering 提交于
      This patch removes almost all inclusions of linux/version.h.  The 3
      #defines are unused in most of the touched files.
      
      A few drivers use the simple KERNEL_VERSION(a,b,c) macro, which is
      unfortunatly in linux/version.h.
      
      There are also lots of #ifdef for long obsolete kernels, this was not
      touched.  In a few places, the linux/version.h include was move to where
      the LINUX_VERSION_CODE was used.
      
      quilt vi `find * -type f -name "*.[ch]"|xargs grep -El '(UTS_RELEASE|LINUX_VERSION_CODE|KERNEL_VERSION|linux/version.h)'|grep -Ev '(/(boot|coda|drm)/|~$)'`
      
      search pattern:
      /UTS_RELEASE\|LINUX_VERSION_CODE\|KERNEL_VERSION\|linux\/\(utsname\|version\).h
      Signed-off-by: NOlaf Hering <olh@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      733482e4
    • O
      [PATCH] fix de_thread() vs send_group_sigqueue() race · 329f7dba
      Oleg Nesterov 提交于
      When non-leader thread does exec, de_thread calls release_task(leader) before
      calling exit_itimers(). If local timer interrupt happens in between, it can
      oops in send_group_sigqueue() while taking ->sighand->siglock == NULL.
      
      However, we can't change send_group_sigqueue() to check p->signal != NULL,
      because sys_timer_create() does get_task_struct() only in SIGEV_THREAD_ID
      case. So it is possible that this task_struct was already freed and we can't
      trust p->signal.
      
      This patch changes de_thread() so that leader released after exit_itimers()
      call.
      Signed-off-by: NOleg Nesterov <oleg@tv-sign.ru>
      Acked-by: NChris Wright <chrisw@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      329f7dba
  2. 08 11月, 2005 18 次提交
  3. 07 11月, 2005 20 次提交