Hi - Updated to use a helper for managing the memory attached to c->aux. All synthetic devices that generate large blobs of text on open() should use the sized_alloc.
Also, since we now track the size in the alloc, I don't need to statically define an upper limit on the size of the buffer. Barret The following changes since commit 741c47c853d91bd95916dde5bab3455ee44efef5: Implement sendmsg() (XCC) (2016-09-06 09:26:23 -0400) are available in the git repository at: [email protected]:brho/akaros.git proc for you to fetch changes up to d7655a756a3f75f9d98fe0d33acd20218507474b: Set a default sysname in #cons (2016-09-07 12:32:37 -0400) ---------------------------------------------------------------- View this online at: https://github.com/brho/akaros/compare/741c47c853d9...d7655a756a3f ---------------------------------------------------------------- Barret Rhoden (4): Add sized_kzmalloc() Add 'self' to #proc Add 'maps' to #proc Set a default sysname in #cons kern/drivers/dev/cons.c | 3 ++ kern/drivers/dev/proc.c | 90 ++++++++++++++++++++++++++++++++++++++++++++++++- kern/include/kmalloc.h | 9 +++++ kern/src/kmalloc.c | 12 +++++++ 4 files changed, 113 insertions(+), 1 deletion(-) -- You received this message because you are subscribed to the Google Groups "Akaros" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
