Andreas Kling
79e22acb22
Kernel: Use KBuffers for ProcFS and SynthFS
...
Instead of generating ByteBuffers and keeping those lying around, have
these filesystems generate KBuffers instead. These are way less spooky
to leave around for a while.
Since FileDescription will keep a generated file buffer around until
userspace has read the whole thing, this prevents trivially exhausting
the kmalloc heap by opening many files in /proc for example.
The code responsible for generating each /proc file is not perfectly
efficient and many of them still use ByteBuffers internally but they
at least go away when we return now. :^)
2019-08-05 11:37:48 +02:00
..
2019-07-09 15:04:45 +02:00
2019-06-02 09:53:42 +02:00
2019-08-02 15:18:47 +02:00
2019-08-05 11:37:48 +02:00
2019-08-05 11:07:45 +02:00
2019-07-03 21:20:13 +02:00
2019-08-05 11:37:48 +02:00
2019-03-27 13:02:29 +01:00
2019-06-30 10:41:26 +02:00
2019-06-07 20:02:01 +02:00
2019-06-04 07:15:44 -07:00
2019-07-03 16:57:37 +02:00
2019-08-04 10:10:38 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-06-04 07:14:40 -07:00
2019-07-30 09:16:47 +02:00
2019-05-17 21:59:48 +02:00
2019-07-13 08:00:24 +02:00
2019-07-09 15:04:43 +02:00
2019-07-03 21:20:13 +02:00
2019-08-05 11:37:48 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-07-24 10:25:43 +02:00
2019-06-07 11:43:58 +02:00
2019-07-21 21:43:37 +02:00
2019-08-02 19:22:48 +02:00
2019-07-21 21:43:37 +02:00
2019-07-28 20:02:22 +02:00
2019-07-03 21:20:13 +02:00
2019-04-01 21:43:07 +02:00
2019-07-29 12:00:14 +02:00
2019-07-29 11:19:04 +02:00
2019-08-04 10:10:38 +02:00
2019-07-29 11:58:44 +02:00
2019-04-30 14:47:22 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-08-02 19:31:59 +02:00
2019-08-02 15:18:47 +02:00
2019-07-03 21:20:13 +02:00
2019-07-09 15:04:45 +02:00
2019-07-03 21:20:13 +02:00
2019-05-28 17:31:20 +02:00
2019-07-13 08:00:24 +02:00
2019-08-01 20:00:56 +02:00
2019-07-22 09:42:39 +02:00
2019-07-29 07:26:01 +02:00
2019-07-29 07:26:01 +02:00
2019-07-29 11:58:44 +02:00
2019-07-03 21:20:13 +02:00
2019-06-04 07:15:44 -07:00
2019-08-02 15:18:47 +02:00
2019-08-02 15:18:47 +02:00
2019-08-01 20:17:12 +02:00
2019-08-01 20:17:12 +02:00
2019-07-14 11:35:49 +02:00