nuttx/sched/mqueue
chao.an f5d4571abc sched/mqueue: remove sched_lock to improve performance
remove the sched_lock/unlock to improve the performance by 18%

mq_send Flow                        Cycle Count
mq_send                         Origin  Optimized
|
 ->nxmq_send                       24         24
   |
    ->file_mq_send                209        209
      |
      |->sched_lock               243        N/A  <-
      |->nxmq_do_send             391        348
      |  |
      |  |->sched_lock            434        N/A  <-
      |  |->up_unblock_task       545        459
      |   ->sched_unlock          675        N/A  <-
      |
       ->sched_unlock             684        N/A  <-
         |
          ->up_release_pending    701        N/A
            |
             ->arm_switchcontext  856        610

mq_receive
|
 ->arm_fullcontextrestore        1375       1133
   |
    ->up_block_task              1375       1133
      |
       ->nxmq_wait_receive       1530       1288
         |
          ->file_mq_receive      1606       1310
            |
             ->nxmq_receive      1616       1320
               |
                ->mq_receive     1628       1332  - 18%

Signed-off-by: chao.an <anchao@xiaomi.com>
2022-06-10 07:23:42 +09:00
..
Make.defs mqueue: simplify the mqueue reailize 2021-01-05 02:40:43 -06:00
mq_getattr.c mqueue: add file_mq_xx for kernel use 2021-01-05 02:40:43 -06:00
mq_initialize.c Documentation, comments: Minor improvements and typos fixed 2021-05-09 19:12:13 -07:00
mq_msgfree.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
mq_msgqalloc.c mq_open: add long file name check and parameter check 2021-10-21 11:01:45 -03:00
mq_msgqfree.c mqueue, btqueue: Fix some typos (e.g., essage -> message) 2021-05-25 07:39:24 +09:00
mq_notify.c sched/mqueue: remove sched_lock to improve performance 2022-06-10 07:23:42 +09:00
mq_rcvinternal.c Documentation, comments: Minor improvements and typos fixed 2021-05-09 19:12:13 -07:00
mq_receive.c sched/mqueue: remove sched_lock to improve performance 2022-06-10 07:23:42 +09:00
mq_recover.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
mq_send.c sched/mqueue: remove sched_lock to improve performance 2022-06-10 07:23:42 +09:00
mq_setattr.c mqueue: add file_mq_xx for kernel use 2021-01-05 02:40:43 -06:00
mq_sndinternal.c sched/mqueue: remove sched_lock to improve performance 2022-06-10 07:23:42 +09:00
mq_timedreceive.c sched/mqueue: remove sched_lock to improve performance 2022-06-10 07:23:42 +09:00
mq_timedsend.c sched/mqueue: remove sched_lock to improve performance 2022-06-10 07:23:42 +09:00
mq_waitirq.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
mqueue.h tools/mkconfig: Remove the unnecessary config option correction 2022-02-09 14:34:38 -03:00