[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080623135253.ed7cabf1.akpm@linux-foundation.org>
Date:	Mon, 23 Jun 2008 13:52:53 -0700
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	oleg@...sign.ru, ebiederm@...ssion.com, mingo@...e.hu,
	torvalds@...ux-foundation.org, roland@...hat.com,
	linux-kernel@...r.kernel.org, rjw@...k.pl
Subject: Re: [PATCH 1/3] introduce PF_KTHREAD flag
On Mon, 23 Jun 2008 13:47:06 -0700
Andrew Morton <akpm@...ux-foundation.org> wrote:
> I don't yet know how much additional damage will happen as a result.
Lots.
I restored the patches and just dropped the hunk:
  static int has_mm(struct task_struct *p)
  {
-       return (p->mm && !(p->flags & PF_BORROWED_MM));
  }
  
  /**
--- 86,92 ----
  
  static int has_mm(struct task_struct *p)
  {
+       return (p->mm && !(p->flags & PF_KTHREAD));
  }
due to that function having been turned into:
static inline bool should_send_signal(struct task_struct *p)
{
        return !(p->flags & PF_FREEZER_NOSIG);
}
Please check the result?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists