Mechanism of Boundary Lubrication and the Edge Effect