Repository navigation
Commit 2229933
Peter Zijlstra
futex: Remove pointless mmgrap() + mmdrop()
We always set 'key->private.mm' to 'current->mm', getting an extra
reference on 'current->mm' is quite pointless, because as long as the
task is blocked it isn't going to go away.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>1 parent 3867913 commit 2229933
1 file changed
Lines changed: 1 addition & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | 334 | | |
346 | 335 | | |
347 | 336 | | |
| |||
432 | 421 | | |
433 | 422 | | |
434 | 423 | | |
435 | | - | |
| 424 | + | |
436 | 425 | | |
437 | 426 | | |
438 | 427 | | |
| |||
465 | 454 | | |
466 | 455 | | |
467 | 456 | | |
468 | | - | |
469 | 457 | | |
470 | 458 | | |
471 | 459 | | |
| |||
0 commit comments