Messages in this thread | | | Subject | Re: [PATCH] strlen | Date | Thu, 28 Oct 1999 22:41:36 +0100 (BST) | From | Alan Cox <> |
| |
> This, I think, is a problem on i386. You _cannot_ read beyond the end of the > string (might be on an other, unmapped page), but you don't know that until > you do, when doing 4 bytes at a time. I mean: You can only know that you > went to far...
If you do the start then do aligned loads (always a good idea) on 4 byte boundaries you wont cross a page by suprise.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |