]> git.ipfire.org Git - thirdparty/bird.git/commit
Allow allocating cold pages inside RCU critical section
authorKaterina Kubecova <katerina.kubecova@nic.cz>
Fri, 13 Dec 2024 11:35:02 +0000 (12:35 +0100)
committerMaria Matejka <mq@ucw.cz>
Fri, 13 Dec 2024 19:15:37 +0000 (20:15 +0100)
commitef63946d2edd2088d4140b2a4e8678979a73af67
tree34abdfb9786586aa39d6ed057b598505cf52d063
parentaf89c43413f773980b7bcc676f4fe50635b7418d
Allow allocating cold pages inside RCU critical section

We have quite large critical sections and we need to allocate inside
them. This is something to revise properly later on, yet for now,
instead of slowly but surely growing the virtual memory address space,
it's better to optimize the cold page cache pickup and count situations
where this happened inside the critical section.
lib/resource.h
nest/cmds.c
sysdep/unix/alloc.c
sysdep/unix/domain.c