summaryrefslogtreecommitdiff
path: root/include/linux/linux_string.h
diff options
context:
space:
mode:
authorSughosh Ganu <[email protected]>2024-08-26 17:29:19 +0530
committerTom Rini <[email protected]>2024-09-03 14:08:50 -0600
commit5e9553cc72b87e0e6b8746cbe52c9520c89fa92d (patch)
tree2d96ea42857794bf826b68f81fa2fe49c6432b8e /include/linux/linux_string.h
parented17a33fed296a87219b0ff702045ce488bc3771 (diff)
lmb: allow for resizing lmb regions
Allow for resizing of LMB regions if the region attributes match. The current code returns a failure status on detecting an overlapping address. This worked up until now since the LMB calls were not persistent and global -- the LMB memory map was specific and private to a given caller of the LMB API's. With the change in the LMB code to make the LMB reservations persistent, there needs to be a check on whether the memory region can be resized, and then do it if so. To distinguish between memory that cannot be resized, add a new flag, LMB_NOOVERWRITE. Reserving a region of memory with this attribute would indicate that the region cannot be resized. Signed-off-by: Sughosh Ganu <[email protected]>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions