syscall: msg: locking of vm-region is now handled by channel_read_msg

This commit is contained in:
2026-02-26 19:43:07 +00:00
parent 8cc877c251
commit b59d0d8948

View File

@@ -417,7 +417,6 @@ kern_status_t sys_msg_read(
} }
channel_lock_irqsave(channel, &flags); channel_lock_irqsave(channel, &flags);
vm_region_lock(self->t_address_space);
status = channel_read_msg( status = channel_read_msg(
channel, channel,
id, id,
@@ -426,7 +425,6 @@ kern_status_t sys_msg_read(
iov, iov,
iov_count, iov_count,
nr_read); nr_read);
vm_region_unlock(self->t_address_space);
channel_unlock_irqrestore(channel, flags); channel_unlock_irqrestore(channel, flags);
object_unref(channel_obj); object_unref(channel_obj);