Messages in this thread | ![/](/images/icornerl.gif) | | From | balagi@justmail ... | Subject | Re: [PATCH] 2.6.19-rc2-mm2 sysfs: sysfs_write_file() writes zero terminated data | Date | Thu, 26 Oct 2006 14:08:24 +0200 |
| |
Hello,
> Yeah, that might happen, but writing to a sysfs file again after the > first time is not the normal case here. I'll add your patch to the > queue to keep this from happening though, good catch.
If the patch is applied, the get_zeroed_page() call can be replaced by __get_free_pages() to save some cpu time.
-Thomas
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |