Messages in this thread | | | Date | Fri, 24 Apr 1998 20:34:53 -0700 | From | Bill Broadhurst <> | Subject | Re: Linux-2.1.98.. |
| |
On Fri, Apr 24, 1998 at 09:24:53PM -0500, Michael Elizabeth Chastain wrote: > Hi guys, > > This is a shot in the dark: > > Maybe this failure in 'make dep' has something to do with the > following code in mkdep.c, which mmaps several bytes, and maybe > a page, *beyond* the end of the file: > > mapsize = st.st_size + 2*sizeof(unsigned long); > mapsize = (mapsize+pagesizem1) & ~pagesizem1; > map = mmap(NULL, mapsize, PROT_READ, MAP_PRIVATE, fd, 0); > > This enables the character-reading state machine to run with > a very fast inner loop, but I don't know if mapping beyond the > end of the file -- perhaps even into a new page -- is valid. >
Could be. But wouldn't this mean that the lock would be at the first encounter of this code? The locks are at different points in the make.
-bb
-- ---------------------------------------------------------------------- Dr. Bill Broadhurst | Independent contract Engineer. (619)296-3710 | BIOS, Firmware, & Diagnostics. bbroad@CX492564-a.dt1.sdca.home.com | Finger for PGP 5.0 public key. ----------------------------------------------------------------------
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |