# Re: \[PATCH\] mm/page\_alloc: Wait for oom\_lock before retrying.

- From: Sergey Senozhatsky \<hidden\>
- Date: 2017-01-13 11:51:13 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2017/01/4911716
- Thread: https://ratatoskr.run/linux-mm/2016/12/6482637/t.md

```text
On (01/13/17 12:03), Petr Mladek wrote:
[..]
> > why can't we?
> 
> Because it would newer call cond_resched() in non-preemptive kernel
> with CONFIG_PREEMPT_COUNT disabled. IMHO, we want to call it,
> for example, when we scroll the entire screen from tty_operations.
> 
> Or do I miss anything?

so... basically. it has never called cond_resched() there. right?
why is this suddenly a problem now?

	-ss
```
