Splice (system Call) - Workings

Workings

With splice, one can move data from one file descriptor to another without incurring any copies from user space into kernel space, which is usually required to enforce system security and also to keep a simple interface for processes to read and write to files. splice works by using the pipe buffer. A pipe buffer is an in-kernel memory buffer that is opaque to the user space process. A user process can splice the contents of a source file into this pipe buffer, then splice the pipe buffer into the destination file, all without moving any data through userspace.

Linus Torvalds described splice in 2006 in a KernelTrap article.

Read more about this topic:  Splice (system Call)

Famous quotes containing the word workings:

    We have our little theory on all human and divine things. Poetry, the workings of genius itself, which, in all times, with one or another meaning, has been called Inspiration, and held to be mysterious and inscrutable, is no longer without its scientific exposition. The building of the lofty rhyme is like any other masonry or bricklaying: we have theories of its rise, height, decline and fall—which latter, it would seem, is now near, among all people.
    Thomas Carlyle (1795–1881)

    Standards of conduct appropriate to civil society or the workings of a democracy cannot be purely and simply applied to the Church.
    Joseph Ratzinger (b. 1927)

    So much of truth, only under an ancient obsolete vesture, but the spirit of it still true, do I find in the Paganism of old nations. Nature is still divine, the revelation of the workings of God; the Hero is still worshipable: this, under poor cramped incipient forms, is what all Pagan religions have struggled, as they could, to set forth.
    Thomas Carlyle (1795–1881)