Commit ba56b63
committed
io_uring/kbuf: move pinning of provided buffer ring into helper
In preparation for allowing the kernel to allocate the provided buffer
rings and have the application mmap it instead, abstract out the
current method of pinning and mapping the user allocated ring.
No functional changes intended in this patch.
Acked-by: Helge Deller <deller@gmx.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent d808459 commit ba56b63
1 file changed
+25
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
463 | 463 | | |
464 | 464 | | |
465 | 465 | | |
466 | | - | |
| 466 | + | |
| 467 | + | |
467 | 468 | | |
468 | 469 | | |
469 | | - | |
470 | | - | |
471 | 470 | | |
472 | 471 | | |
473 | 472 | | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
474 | 492 | | |
475 | 493 | | |
476 | 494 | | |
| |||
504 | 522 | | |
505 | 523 | | |
506 | 524 | | |
507 | | - | |
508 | | - | |
509 | | - | |
510 | | - | |
| 525 | + | |
| 526 | + | |
511 | 527 | | |
512 | | - | |
| 528 | + | |
513 | 529 | | |
514 | 530 | | |
515 | | - | |
516 | | - | |
517 | | - | |
518 | 531 | | |
519 | | - | |
520 | 532 | | |
| 533 | + | |
521 | 534 | | |
522 | 535 | | |
523 | 536 | | |
| |||
0 commit comments