Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1161100 > unrolled thread

Re: [RFC PATCH 09/18] kthread: Make it easier to correctly sleep in iterant kthreads

Started byTejun Heo <tj@kernel.org>
First post2015-06-09 09:40 +0200
Last post2015-06-09 09:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [RFC PATCH 09/18] kthread: Make it easier to correctly sleep in  iterant kthreads Tejun Heo <tj@kernel.org> - 2015-06-09 09:40 +0200

#1161100 — Re: [RFC PATCH 09/18] kthread: Make it easier to correctly sleep in iterant kthreads

FromTejun Heo <tj@kernel.org>
Date2015-06-09 09:40 +0200
SubjectRe: [RFC PATCH 09/18] kthread: Make it easier to correctly sleep in iterant kthreads
Message-ID<pzmiD-8eu-27@gated-at.bofh.it>
Hello,

On Mon, Jun 08, 2015 at 12:01:07PM +0200, Petr Mladek wrote:
> BTW: What is the preferred way of freezing, please? Is it better
> to end up in the fridge or is it fine to call freezer_do_not_count();
> or set PF_NOFREEZE when it is safe?

There's no one good answer.  The closest would be "don't use freezer
on kthreads".  As Peter said, exit points are always safe freezing
points and it's generally a good idea to avoid adding one anywhere
else.

Thanks.

-- 
tejun
--
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/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web