bmarcot / vega

vega -- The Unix-like Operating System for micro-controllers (ARM Cortex-M4)
6 stars 1 forks source link

romfs: vfs_lookup() reallocates memory on every call #27

Closed bmarcot closed 7 years ago

bmarcot commented 7 years ago

Every call to vfs_lookup() will allocate memory for the inode. The inode should be cached, and retrieved from the cache on subsequent calls.

bmarcot commented 7 years ago

On dentry deletion, the proc will also delete the inode.

bmarcot commented 7 years ago

5d6593d8c5d00acb84849ddfef265c473137e241