On Wed, 2007-10-31 at 21:49 +1100, Nick Piggin wrote: > On Wednesday 31 October 2007 21:42, Peter Zijlstra wrote: > > On Wed, 2007-10-31 at 14:51 +1100, Nick Piggin wrote: > > > On Wednesday 31 October 2007 03:04, Peter Zijlstra wrote: > > > > Allow PF_MEMALLOC to be set in softirq context. When running softirqs > > > > from a borrowed context save current->flags, ksoftirqd will have its > > > > own task_struct. > > > > > > What's this for? Why would ksoftirqd pick up PF_MEMALLOC? (I guess > > > that some networking thing must be picking it up in a subsequent patch, > > > but I'm too lazy to look!)... Again, can you have more of a rationale in > > > your patch headers, or ref the patch that uses it... thanks > > > > Right, I knew I was forgetting something in these changelogs. > > > > The network stack does quite a bit of packet processing from softirq > > context. Once you start swapping over network, some of the packets want > > to be processed under PF_MEMALLOC. > > Hmm... what about processing from interrupt context? From what I could tell that is not done, ISR just fills the skb and sticks it on an RX queue to be further processed by the softirq.
Attachment:
signature.asc
Description: This is a digitally signed message part
- References:
- [PATCH 00/33] Swap over NFS -v14
- From: Peter Zijlstra <[email protected]>
- Re: [PATCH 06/33] mm: allow PF_MEMALLOC from softirq context
- From: Nick Piggin <[email protected]>
- Re: [PATCH 06/33] mm: allow PF_MEMALLOC from softirq context
- From: Peter Zijlstra <[email protected]>
- Re: [PATCH 06/33] mm: allow PF_MEMALLOC from softirq context
- From: Nick Piggin <[email protected]>
- [PATCH 00/33] Swap over NFS -v14
- Prev by Date: Re: [PATCH 2/5] Move the UTS namespace under the option
- Next by Date: Re: porting KGDB onto MIPS24K processor running linux-2.6.18.8
- Previous by thread: Re: [PATCH 06/33] mm: allow PF_MEMALLOC from softirq context
- Next by thread: [PATCH 12/33] selinux: tag avc cache alloc as non-critical
- Index(es):