Method and apparatus for atomic file look-up. An atomic look-up operation
allows an application to find out whether a file is opened atomically
based on whether or not the file path is present in a file system
namespace cache. If not, the file open request can be redirected,
avoiding or minimizing impacts to the scheduling of various operations
involved in executing an application. The request can be redirected by
the application to a process that includes blocking point handling. An
operating system according to the present invention includes a file
system including a file system namespace, and an operating system kernel
is operatively connected to the file system. The operating system kernel
includes the file system namespace cache and the atomic look-up
operation.