Re: [OE-core] package: Add cachedpath optimisation

2013-03-18 Thread Richard Purdie
On Thu, 2013-03-14 at 20:02 -0700, Chris Larson wrote: > > On Thu, Mar 14, 2013 at 6:57 PM, Richard Purdie > wrote: > Currently, various standard library operations like os.walk(), > os.path.isdir() and os.path.islink() each call stat or lstat > which > involves a

Re: [OE-core] package: Add cachedpath optimisation

2013-03-14 Thread Chris Larson
On Thu, Mar 14, 2013 at 6:57 PM, Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > Currently, various standard library operations like os.walk(), > os.path.isdir() and os.path.islink() each call stat or lstat which > involves a syscall into the kernel. There is no caching since they co

[OE-core] package: Add cachedpath optimisation

2013-03-14 Thread Richard Purdie
Currently, various standard library operations like os.walk(), os.path.isdir() and os.path.islink() each call stat or lstat which involves a syscall into the kernel. There is no caching since they could conceivably have changed on disk. The result is that for something like the do_package task of t