APPROACH FOR CONTEXT SWITCHING OF LOCK-BIT PROTECTED MEMORY
    1.
    发明申请
    APPROACH FOR CONTEXT SWITCHING OF LOCK-BIT PROTECTED MEMORY 有权
    锁定保护存储器的上下文切换方法

    公开(公告)号:US20140189260A1

    公开(公告)日:2014-07-03

    申请号:US13728813

    申请日:2012-12-27

    Abstract: A streaming multiprocessor in a parallel processing subsystem processes atomic operations for multiple threads in a multi-threaded architecture. The streaming multiprocessor receives a request from a thread in a thread group to acquire access to a memory location in a lock-protected shared memory, and determines whether a address lock in a plurality of address locks is asserted, where the address lock is associated the memory location. If the address lock is asserted, then the streaming multiprocessor refuses the request. Otherwise, the streaming multiprocessor asserts the address lock, asserts a thread group lock in a plurality of thread group locks, where the thread group lock is associated with the thread group, and grants the request. One advantage of the disclosed techniques is that acquired locks are released when a thread is preempted. As a result, a preempted thread that has previously acquired a lock does not retain the lock indefinitely.

    Abstract translation: 并行处理子系统中的多流处理器在多线程架构中处理多个线程的原子操作。 流式多处理器从线程组中的线程接收请求以获得对锁定保护的共享存储器中的存储器位置的访问,并且确定多个地址锁中的地址锁定是否被断言,其中地址锁定与 内存位置。 如果地址锁定被确认,则流式多处理器拒绝该请求。 否则,流多处理器断言地址锁定,在多个线程组锁定中断定线程组锁定,其中线程组锁与线程组相关联,并且授予该请求。 所公开技术的一个优点是当线程被抢占时获得的锁定被释放。 因此,先前获得锁定的抢占线程不会无限期地保留锁定。

Patent Agency Ranking