Bug 147939
Summary: | Running executables fails with efault for a driver using map_user_kiobuf | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | satish <ksatishv> |
Component: | kernel | Assignee: | Ernie Petrides <petrides> |
Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.0 | CC: | petrides, riel |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-02-26 01:04:52 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
satish
2005-02-13 15:36:40 UTC
It looks like the complication is because we are not able to determine if a address is user or kernel. We were using find_vma to determine that and that doesnot work for hugemem. Is there any interface that can be used to determine if a addr is user or kernel.. Hello, Satish. One cannot determine whether a particular address implies user-space or kernel-space. The whole point of the hugemem kernel is that the full 4-GB address space can be used for user-space, implying that some addresses can be used to reference both spaces. Software must keep track of whether any particular address should result in a user-space access. Fair Enough, I used the get_fs() to determine we are called from kernel_read() and that sort of works. Thanks for looking in to this |