Commit 8078c5c
committed
Skip dbuf_evict_one() from dbuf_evict_notify() for kswapd
Avoid kswapd thread hang from hash lock contention under high memory
pressure in this code path:
dbuf_evict_one -> dbuf_destroy -> arc_buf_destroy
Signed-off-by: Kaitlin Hoang <kthoang@amazon.com>1 parent be1e991 commit 8078c5c
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
867 | 867 | | |
868 | 868 | | |
869 | 869 | | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
870 | 883 | | |
| 884 | + | |
871 | 885 | | |
872 | 886 | | |
873 | 887 | | |
| |||
0 commit comments